﻿@using HrEFCore.Models
@using HrEFCore;
@model List<CMK>
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link rel="stylesheet" href="../../css/table.css" type="text/css">
    <script type="text/javascript" src="../../javascript/comm/comm.js"></script>
    <script type="text/javascript" src="../../javascript/jquery-1.7.2.js"></script>
    <style type="text/css">
        body {
            background: rgb(253,244,227);
        }

        .TD_STYLE1 {
            background: #E6DDCE;
            /* color:white; */
        }

        .TD_STYLE2 {
            background: rgb(253,244,227);
        }

        .INPUT_STYLE2 {
            background: rgb(253,244,227);
        }
    </style>
</head>
<body>
    <form action="" method="post">
        <table style="width:100%;margin-top:10px;height:30px;background-color:rgb(253,244,227)">
            <tr>
                <td>
                    <font color="black">
                        您正在做的业务是：人力资源--客户化设置--人力资源档案管理设置--职位分类设置
                    </font>
                </td>
            </tr>
            <tr>
                <td style="float:right;margin-bottom:10px;margin-right:20px">
                    <button class="btn btn-warning">
                        <a href="@Url.Action("Add","CMK")" target="mainFrame" style="color:black;">添加</a>
                    </button>
                </td>
            </tr>
        </table>
        <table class="table table-bordered" style="width:100%">
            <tr style="background: #E6DDCE;">
                <th>职位分类编号</th>
                <th>职位分类名称</th>
                <th>删除</th>
            </tr>
            @foreach (CMK item in Model)
            {
                <tr style="background-color:rgb(253,244,227)">
                    <td>@item.MajorKindId</td>
                    <td>@item.MajorKindName</td>
                    <td>
                        @Html.ActionLink("删除","Delete",new{id=item.MfkId},new{onclick="return confirm('确定要删除吗？')"})
                    </td>
                </tr>
            }
        </table>
    </form>
</body>
</html>